package com.wf.smartcomm.server.model;


import java.util.List;

import com.google.gson.annotations.Expose;

public class AreaModel {
	@Expose
	private String name;
	@Expose
	private List<BanModel> banList;
	
	public AreaModel() {
		super();
	}

	public AreaModel(String name, List<BanModel> banList) {
		super();
		this.name = name;
		this.banList = banList;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<BanModel> getBanList() {
		return banList;
	}

	public void setBanList(List<BanModel> banList) {
		this.banList = banList;
	}

	@Override
	public String toString() {
		return name + "栋";
	}
	
}
